import {GithubOutlined} from '@ant-design/icons';
import {DefaultFooter} from '@ant-design/pro-layout';

const Footer: React.FC = () => {
  const defaultMessage = '老喵制作';
  const currentYear = new Date().getFullYear();
  return (
    <DefaultFooter
      copyright={`${currentYear} ${defaultMessage}`}
      links={[
        // {
        //   key: 'planet',
        //   title: '知识星球',
        //   href: PLANET_LINK,
        //   blankTarget: true,
        // },
        {
          key: 'csdn',
          title: 'CSDN',
          href: 'https://blog.csdn.net/YXXXYX?spm=1010.2135.3001.5343',
          blankTarget: true,
        },
        {
          key: 'gitee',
          title: 'Gitee',
          href: 'https://gitee.com/yxxxyx',
          blankTarget: true,
        },
        // {
        //   key: 'github',
        //   title: <><GithubOutlined/> 鱼皮 GitHub</>,
        //   href: 'https://github.com/liyupi',
        //   blankTarget: true,
        // },

      ]}
    />
  );
};

export default Footer;
